package com.forevershine.business.persistent.impl;

import org.apache.ibatis.session.SqlSession;

import com.forevershine.business.model.IndentBreakdown;
import com.forevershine.business.persistent.IDataAccessor;
import com.forevershine.business.persistent.IndentBreakdownDao;

public class IndentBreakdownDaoImpl implements IndentBreakdownDao {

	@Override
	public IndentBreakdown loadIndentBreakdown(IDataAccessor dataAccessor,
			int taskId) {
		SqlSession session =  dataAccessor.getSession();
		return (IndentBreakdown)session.selectOne("selectIndentBreakdown", taskId);
	}

}
